<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<title>后台管理系统-添加商品</title>
</head>
<body>
    
<!-- 头部导航条 -->
<nav class="navbar navbar-default navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="./index.html">管理系统</a>
        </div>
    
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
                <li><a href="#">Link</a></li>
                <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#">Action</a></li>
                    <li><a href="#">Another action</a></li>
                    <li><a href="#">Something else here</a></li>
                    <li role="separator" class="divider"></li>
                    <li><a href="#">Separated link</a></li>
                    <li role="separator" class="divider"></li>
                    <li><a href="#">One more separated link</a></li>
                </ul>
                </li>
            </ul>
            <form class="navbar-form navbar-left">
                <div class="form-group">
                <input type="text" class="form-control" placeholder="Search">
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <!-- <li><a href="./login.html">登录</a></li> -->
                <!-- <li><a href="./register.html">注册</a></li> -->
                <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><em class="username">用户账号</em> <span class="caret"></span></a>
                <ul class="dropdown-menu menu2">
                    <li><a href="#">个人中心</a></li>
                    <li class="logout"><a href="javascript:;">退出登录</a></li>
                </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<!-- 侧栏和内容 -->
<div class="container-fluid">
    <div class="row">
        <!-- 左边侧栏 -->
        <div class="col-md-2 content-left">
            <ul class="nav nav-pills nav-stacked">
                <li role="presentation" class="active"><a href="#">商品管理</a></li>
                <li role="presentation"><a href="./goods-list.html">商品列表</a></li>
                <li role="presentation"><a href="./goods-add.html">添加商品</a></li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li role="presentation" class="active"><a href="#">用户管理</a></li>
                <li role="presentation"><a href="#">用户列表</a></li>
                <li role="presentation"><a href="#">添加用户</a></li>
            </ul>
        </div>
        <!-- 右边内容 -->
        <div class="col-md-10 content-right">
            <!-- 路径导航 -->
            <ol class="breadcrumb">
                <li><a href="./index.html">首页</a></li>
                <li><a href="#">商品管理</a></li>
                <li class="active">添加商品</li>
            </ol>
            <div class="row">
                <div class="col-md-10 col-md-offset-1">
                    <div class="input-group">
                        <span class="input-group-addon" id="basic-addon1">商品名称：</span>
                        <input id="name" type="text" class="form-control" placeholder="请输入商品名称" aria-describedby="basic-addon1">
                    </div>
                    <div class="input-group">
                        <span class="input-group-addon" id="basic-addon1">商品描述：</span>
                        <input id="desc" type="text" class="form-control" placeholder="请输入商品描述" aria-describedby="basic-addon1">
                    </div>
                    <div class="input-group">
                        <span class="input-group-addon" id="basic-addon1">商品价格：</span>
                        <input id="price" type="text" class="form-control" placeholder="请输入商品价格" aria-describedby="basic-addon1">
                    </div>
                    <div class="input-group">
                        <span class="input-group-addon" id="basic-addon1">商品类型：</span>
                        <select id="type" class="form-control">
                            <option value="">请选择</option>
                            <option value="热菜">热菜</option>
                            <option value="凉菜">凉菜</option>
                            <option value="酒水">酒水</option>
                        </select>
                    </div>
                    <div class="upload">
                        <form class="form-inline" id="form">
                            <div class="input-group">
                                <span class="input-group-addon" id="basic-addon1">上传图片：</span>
                                <input id="file" type="file" class="form-control" name="upload_img" aria-describedby="basic-addon1">
                            </div>
                            <button class="btn btn-primary">开始上传</button>
                        </form>
                    </div>
                    <div class="input-group">
                        <span class="input-group-addon" id="basic-addon1">图片地址：</span>
                        <input id="imgurl" type="text" class="form-control" placeholder="请先上传图片" aria-describedby="basic-addon1" readonly>
                    </div>
                    <div class="text-center">
                        <button class="btn btn-success">添加商品</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>